package com.yunji.aggregate.model.vo.container;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yunji.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.cabinet.vo
 * @Title: FillCargoContainerVO
 * @Description: TODO:
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-06-19 10:45:36      V1.0        HuaAo       补货货柜列表
 */
@Data
public class FillCargoContainerVO {

    @ApiModelProperty("货柜ID")
    @Excel(name = "货柜ID", width = 15)
    private Long containerId;

    @ApiModelProperty("货柜名称")
    @Excel(name = "货柜名称", width = 15)
    private String containerName;

    @ApiModelProperty("点位ID")
    private Long locationId;

    @ApiModelProperty("点位名称")
    private String locationName;

    @ApiModelProperty("点位地址")
    private String address;

    @ApiModelProperty("格子跟新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty("货柜格子状态 0-无货 1-有货 2-缺货")
    private Integer cellStatus;

    @ApiModelProperty("格子数")
    private Integer nums;

    @ApiModelProperty("商品数量")
    private Integer productQuantity;

    @ApiModelProperty("商品上限")
    private Integer ceilingQuantity;

    @ApiModelProperty("缺货商品数量")
    private Integer stockOutQuantity;

    private List<CabinetCellVO> voList;

}